package com.dxx.cloud.admin.module.request;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

import java.util.List;

/**
 * @author duh
 * @create 2018/12/28 14:10

 **/
@Schema(description = "修改订单请求体")
public class OrderUpdateRequest {


    @Schema(description="订单id",example="1")
    @NotNull
    private Integer id;

    @JsonIgnore
    @Schema(description="客户id",example="1")
    private Integer customerId;

    @Schema(description="客户名称",example = "我吃海鲜")
    private String customerName;

    @Schema(description="客户手机号",example = "15071185123")
    private String customerMobile;

    @Schema(description="身份证号",example="421254199909091234")
    private String idCardNo;

    @Schema(description="地址",example="中国上海黄埔1号")
    private String address;

    @Schema(description="描述",example = "这是订单描述")
    private String remarks;

    @Schema(description="销售员")
    private String sellAgent;

    @Schema(description="修改人",example="admin")
    private String updater;

    @Schema(description="操作者",example="admin")
    private String operator;

    @Schema(description="商品规格列表")
    private List<OrderAddGoodsModule> goodsList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerMobile() {
        return customerMobile;
    }

    public void setCustomerMobile(String customerMobile) {
        this.customerMobile = customerMobile;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public List<OrderAddGoodsModule> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<OrderAddGoodsModule> goodsList) {
        this.goodsList = goodsList;
    }

    public String getSellAgent() {
        return sellAgent;
    }

    public void setSellAgent(String sellAgent) {
        this.sellAgent = sellAgent;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
